package com.itheima.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.pojo.Employee;

//@Transactional
public interface EmployeeService {


    void insert(Employee employee);


   Employee selectById(Long id);
   void update(Employee employee);



    Page<Employee> page(Page employeePage, LambdaQueryWrapper<Employee> lqw);

    Employee selectOne(LambdaQueryWrapper<Employee> lqw);
}
